NDepend.API Documentation
AnalyzeAssemblies(ICollection<String>) Method
NDepend.Analysis Namespace > ExtensionMethodsProjectAnalysis Class > AnalyzeAssemblies Method : AnalyzeAssemblies(ICollection<String>) Method
A collection of string that contains assemblies file paths.
Analyze a set of assemblies, in-process and synchronously, and return a IAnalysisResult object. (Only available with a Build Machine license).
Syntax

Parameters

applicationAssembliesPath
A collection of string that contains assemblies file paths.

Return Value

The analysis result.
Exceptions
ExceptionDescription
Problem with creating a temporary project.
Cannot run analysis without a Build Machine license.
The analysis execution failed. The InnerException contains additional information concerning the failure.
One of the string in applicationAssembliesPath is null.
One of the string in applicationAssembliesPath is not a valid absolute file path.
One absolute file path in applicationAssembliesPath doesn't exist.
Remarks
Calling this method will typically takes a few seconds, the time the analysis is performed.
Internally, this methods creates a temporary project with the method NDepend.Project.IProjectManager.CreateTemporaryProject and then call RunAnalysis(IProject,String) on this temporary project. It is possible to run several analysis simultaneously on several threads in the same AppDomain.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsProjectAnalysis Class
ExtensionMethodsProjectAnalysis Members
Overload List